package com.spc.demo.executors;

import com.spc.demo.entiity.ActionTwoOut;
import com.spc.demo.entiity.BaseIn;
import com.spc.demo.entiity.BaseOut;
import org.springframework.stereotype.Component;

@Component
public class ActionTwoExecutor extends Executor{
    @Override
    protected BaseOut doExecute(BaseIn in) {
        System.out.println("action-two");
        return new ActionTwoOut();
    }
}
